/**
 * Author(s): xuming.Wong <xuming.Wong@gmail.com>
 */

#ifndef __AVATAR_CAMERA_H__
#define __AVATAR_CAMERA_H__

#include "Ogre.h"

namespace PQGame
{
	class ChaseCamera
	{
	private:
		Ogre::SceneNode *baseNode,*pivotNode,*camNode;
		Ogre::Camera *camera;
	public:
		ChaseCamera(Ogre::SceneNode *baseNode,
			Ogre::Camera *camera,
			Ogre::Vector3 offset);

		~ChaseCamera(void);
		
		Ogre::Camera *getCamera();
		
		void spin(const Ogre::Radian &angle);
		void pitch(const Ogre::Radian &angle);
	};
}
#endif
